<script>
  document.write(localStorage.getItem('printHtml'));
  document.close();
</script>

